<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>撰写 - 傅小黑.Me</title>
    <link rel="stylesheet" href="css/style.css" type="text/css"/>
    <script type="text/javascript" src="lib/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="lib/kindeditor-min.js"></script>
    <script type="text/javascript" src="js/editor.js"></script>
</head>
<body>
<form id="editor-wrapper" class="clear editor form">
    <div id="editor-main">
        <input id="title" type="text" required="required" placeholder="请输入文章标题" name="title"/>
        <textarea class="input" name="content" id="content"></textarea>
    </div>
    <div id="editor-side">
        <p class="item">
            <label for="category">选择分类</label>
            <select class="input" name="categoryId" id="category">
                <option value="0">无分类</option>
            </select>
        </p>
        <p class="item">
            <label for="slug">缩略名</label>
            <input class="input" id="slug" name="slug" type="text" required="required"/>
            <span class="input-tip">字母、数字和短横线组成</span>
        </p>
        <ul class="item">
            <li>
                <input id="isComment" type="checkbox" value="1" checked name="isComment"/>
                <span class="check-txt">允许评论</span>
            </li>
            <li>
                <input id="isFeed" type="checkbox" value="1" checked name="isFeed"/>
                <span class="check-txt">允许订阅输出</span>
            </li>
            <li>
                <input id="status" type="checkbox" value="publish" checked name="status"/>
                <span class="check-txt">开放阅读</span>
            </li>
        </ul>
        <p class="submit">
            <input id="submit" type="submit" value="Save" class="button"/>
            <input id="id" type="hidden" value="0" name="id"/>
            <span id="result"></span>
        </p>
    </div>
</form>
</body>
</html>